<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .red {
            margin: 20px;
            padding: 20px;
            border: chartreuse 5px solid;
            width: 200px;
            height: 200px;
            background-color: red;
   
        }
    </style>
</head>
<body>
    <div class="red"></div>
    <p>
        盒子模型高度为290px <br>
        盒子模型宽度度为290px
    </p>
</body>
</html>